package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.QualityCheckDoc;
import com.pureut.quality.domain.dto.QualityCheckDocDto;
import com.pureut.quality.domain.vo.QualityCheckDocVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description
 * @Param
 * @Date
 * @Author hl
 **/
@Mapper
public interface QualityCheckDocMapper extends BaseMapper<QualityCheckDoc> {

    /**
     * 查询检验单据配置
     */
    List<QualityCheckDocDto> selectCheckDocList(QualityCheckDocVo qualityCheckDocVo);

    /**
     * 新增检验单据配置
     */
    int insertCheckDoc(QualityCheckDocVo qualityCheckDocVo);

    /**
     * 批量删除检验单据配置
     */
    int deleteCheckDocById(String[] checkIdS);

    /**
     * 修改检验单据配置
     */
    int updateCheckDocEdit(QualityCheckDocVo qualityCheckDocVo);
}
